package com.alks.function.service.stockdept.pcfactorystockquery;

import com.alks.entity.data.entity.HgMtlRelation;
import com.alks.entity.data.response.ResponseInfo;
import com.alks.function.data.request.stockdept.pcfactorystockwork.*;

import java.math.BigDecimal;
import java.util.List;

public interface IPcMtlUDService {
    ResponseInfo inStockDetailQuery(IStockDtlRequest request);

    ResponseInfo delateByRecNo(String recNo);

    ResponseInfo deleteRow(Integer request);

    ResponseInfo sendQtyUpdate(Integer id, BigDecimal sendQty);

    void otherDateUpdate(OtherStockUpRequest request, String recNo);

    ResponseInfo mtlSubQuery(MtlSubQueryRequest request);

    ResponseInfo inStockMtlSub(MtlSubAddRequest request);

    ResponseInfo subMtlQuery(SubMtlQueryRequest request);

    ResponseInfo mtlSubUpdate(List<MtlSubUpdateRequest> request);

    ResponseInfo MtlSubProcess(MtlSubProcRequest request);

    /**
     * 海关编码修改
     *
     * @param relation 物料信息
     */
    void mtlNoHgUpdate(HgMtlRelation relation);
}
